package com.wakey.rtcs.web.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wakey.rtcs.web.model.File;

public interface FileMapper {

	int saveFile(File file);

	List<File> queryFileList(@Param("docId") Long docId,@Param("userType") Integer userType,@Param("userId") Long userId);

	int deleteFile(@Param("id") Long id);

	List<File> queryLastestFile(@Param("docId") Long docId, @Param("userType") Integer userType,@Param("userId") Long userId);

	List<File> queryAllFile(File file);
	
	int checkFile(@Param("id") Long id,@Param("check")Integer check,@Param("advice")String advice,@Param("checkMan")Long checkMan);

}
